package com.wsjj.yjh.mapper;

import com.wsjj.yjh.bean.HiveTable;
import com.wsjj.yjh.bean.RealtimeTable;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface RealtimeTableMapper {
    @Select("select count(*) as hive_table from realtime_table")
    Integer selectCoumt();

    @Select("select * from realtime_table where id=#{id}")
    RealtimeTable selectById(@Param("id") Integer id);
}
